package io.chenglicun.modules.bus.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import io.chenglicun.modules.sys.excel.converter.GenderConverter;
import lombok.Data;
import java.util.Date;

/**
 * 业务_通讯录
 *
 * @author LYB jssqsylyb@163.com
 * @since 1.0 2023-09-04
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class BusAdressBookExcel {
    @ExcelProperty(value = "姓名", index = 0)
    private String name;
    @ExcelProperty(value = "性别",converter = GenderConverter.class, index = 1)
    private Integer gender;
    @ExcelProperty(value = "部门名称", index = 2)
    private String deptName;
    @ExcelProperty(value = "职位名称", index = 3)
    private String jobName;
    @ExcelProperty(value = "地址", index = 4)
    private String location;
    @ExcelProperty(value = "电话", index = 5)
    private String mobile;
    @ExcelProperty(value = "排序", index = 6)
    private Integer sort;
//    @ExcelProperty(value = "创建者", index = 7)
//    private Long creator;
    @ExcelProperty(value = "创建时间", index = 8)
    private Date createDate;
//    @ExcelProperty(value = "更新者", index = 9)
//    private Long updater;
    @ExcelProperty(value = "更新时间", index = 10)
    private Date updateDate;
    @ExcelProperty(value = "备注", index = 11)
    private String remark;
}